﻿using System;
namespace OF.Model
{
    /// <summary>
    /// Orders:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Orders
    {
        public Orders()
        { }
        #region Model
        private int _id;
        private string _ordersn;
        private decimal? _allprice;
        private int? _buyerid;
        private string _phone;
        private DateTime? _addtime;
        private string _scheduledtime;
        private int? _population;
        private string _remark;
        private int? _state;
        private int? _ordertype;
        private string _sendaddress;
        private decimal? _sendprice;
        private decimal? _dishprice;
        private int? _sellerid;
        private string _reason;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ordersn
        {
            set { _ordersn = value; }
            get { return _ordersn; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? allprice
        {
            set { _allprice = value; }
            get { return _allprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? buyerid
        {
            set { _buyerid = value; }
            get { return _buyerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? addtime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string scheduledtime
        {
            set { _scheduledtime = value; }
            get { return _scheduledtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? population
        {
            set { _population = value; }
            get { return _population; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? state
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ordertype
        {
            set { _ordertype = value; }
            get { return _ordertype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string sendaddress
        {
            set { _sendaddress = value; }
            get { return _sendaddress; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? sendprice
        {
            set { _sendprice = value; }
            get { return _sendprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? dishprice
        {
            set { _dishprice = value; }
            get { return _dishprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? sellerid
        {
            set { _sellerid = value; }
            get { return _sellerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string reason
        {
            set { _reason = value; }
            get { return _reason; }
        }
        #endregion Model

    }
}

